PRNAME = "program.exe"
CFLAGS = -Wall -O2
all: $(PRNAME)
$(PRNAME): Functions.o functions.h ArExpres.o arexpres.h  main.o
	g++ $(CFLAGS) Functions.o ArExpres.o  main.o  -o $(PRNAME)
main.o: main.cpp functions.h arexpres.h 
	g++ $(CFLAGS) -c main.cpp
Functions.o: Functions.cpp
	g++ $(CFLAGS) -c Functions.cpp
ArExpres.o: ArExpres.cpp
	g++ $(CFLAGS) -c ArExpres.cpp
run: $(PRNAME)
	$(PRNAME)
clean:
	rm -f *.o *.h.gch *.out *.out